# coding=utf-8

def bulid_specs(ids):
    res=[]
    for t in ids:
        for i in ids:
            for j in ids:
                if t!=i and i!=j and t!=j:
                    res.append(str(t)+"_"+str(i)+"_"+str(j));
    return res
